﻿
/*********************物流项目三组************************
*  功能描述：货主合同管理
*  作者：郭辉
*  时间：2022-01-10
*  修改人：郭辉
*  修改时间：2022-01-10
*********************物流项目三组************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoApp.ResultModel;

namespace TodoApp.TMS_Contract.Contracts
{
    public interface ITMS_ContractAppRepository
    {
        public Task<int> CreateContracts(TMS_ContractsDto info);
        Task<PageResponse<TMS_ContractsDto>> GetAllContracts(string ContractsTitle, string ContractUnits, string ContractName, string ContractAttentionLine, DateTime? ContractCreateDate, int ContractState, int pageindex=1, int pagesize=5);
        public Task<int> DeleteContracts(string id);
        public Task<int> DeleteSContracts(string ids);
        Task<int> UpdatePersonNames(TMS_ContractsDto info);
        public Task<PageResponse<TMS_ContractsDto>> GetAllCarriageContracts(string ContractsTitle, string ContractUnits, string ContractName, string ContractAttentionLine, DateTime? ContractCreateDate, int ContractState, int pageindex = 1, int pagesize = 5);
        Task<PageResponse<TMS_ContractsDto>> GetAllContContracts(string ContractsTitle, string ContractUnits, string ContractName, string ContractAttentionLine, DateTime? ContractCreateDate, int ContractState, int pageindex = 1, int pagesize = 5);
    }
}
